package com.xidian.zhiancloud.controller.ledgerManagerment.relatedPart;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Data;

import java.util.List;

/**
 * @Author: Summerless
 * @Date: 2021/3/3 15:22
 */
@Data
@ExcelTarget("老师")
public class Teacher {
    @Excel(name = "老师姓名",needMerge = true,orderNum = "0")
    private String name;
    @Excel(name = "老师id" ,needMerge = true,orderNum = "1")
    private String id;
    @ExcelCollection(name = "学生",orderNum = "2")
    private List<Student> students;
}
